Added this to returnRequest.

Added this to returnRequest calls. Removed invalidRequest method, using returnRequest in its place.