Fixed an inconsistency that led to a slight PHP notice