Fix blank category error
Allow image deletion on post#edit