Fix for deletion form error