Improved robustness when reading dates from request

Closes #250
Taking resources types into account when trying to locate an unknown resource