Added missing break which caused double gpu-executions in some cases.