Fixed bug with visiting a parse tree which didn't always check the .mayHaveKeywordParameters

@jurgenvinju perhaps add a rascal-checks for this?