Added a check for the query URI parameter if $uri->param(query) returns false
Merge pull request #4 from 2upmedia/feature-query

Added a check for the query URI parameter