Forgot to add support for constants.
Reduced duplication of AI condition field parsing.
AFAIK everything works as expected right now.