Fixed incorrect comparison and worked around -getObjects:forKeys: issue on GNUstep