Check for question mark in URL