Removed recursion from parsing IN list