Oops. Fixed NullPointerException if the REQUEST_VALID parameter isn't set.