Check Schedule bug that caused query to fail.