fixed segfault in AQL optimiser when using IN on constant, non-list values
added assertion