Corrected SQL.
Fixed list_entries_add.php and list_entries_remove.php.