removes extra bounds check in everyTask & someTask

minor formatting improvments