Make the edit handler validate a bit better