[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error