Additional error checking around ARRAY usage: disallow usage in ORDER BY and non equality comparisions