The point is that temporal parts of conditional constructs are not correctly supported by the planner.
Actually I don't think there is a solution for this problem so you can only reformulate your actions trying to remove all "fancy" constructs and make your domain as simple as possible.