Fixed minor bug with implementation of DELETE