Edited task allowed function to check task details.
Merge pull request #119 from hawesie/hydro-release

Edited task allowed function to check task details.