Implemented remaining check for PARAMETERS in queries (Issue #12)