Fix logic error when checking for existing map tile