Fix for error validating slide layers when there are no slides present