Fix delete commands