Fixed typo for removing navigation items

Fixed typo for removing navigation items. I suppose the method should be delete_if and not remote_if.