Fix full-house function.