Fix regexp to detect query in limiting rows feature (issue #59)