More checking for invalid phrases