Fixes select ordinal compiling