check for invalid rdds before launching a task
improved dependency checking in master