Ensure query params are checked if version isn't in Accept header

Hi @dpnova ,

Fixed a little bug which was preventing the ```v=``` query param from being checked when the version wasn't specified in sent Accept header.