Added or condtion for checkin in submodule