MOB-1477: Added error message when trying to delete referenced row