Fix broken collapse in forms