fix NULL virtual column problem

a virtual column can return NULL value therefore hasVirtualColumn method must use array_key_exists insted of isset