Fixed broken WHERE regex

Fixed broken WHERE regex not accepting <table>.<column> combinations.