Fixed null pointer from not checking if prefix was null before attempt to compare it to jail prefix.