Fix function_clause in childspec