Corrected parameter checks in methods.

Changed parameters checks in setStatus and setLocation. Made both "not equals" instead of "equals" as I meant to do earlier.