Make sure variables in comparsion are set to prevent PHP warning messages