a virtual column can return NULL value therefore
hasVirtualColumn method must use array_key_exists insted of isset
add testing for hasVirtualColumn with a null value
Merge pull request #435 from etienneroudeix/master

fix NULL virtual column problem