Quick fix for dot notation projection

This is a quick fix for:
https://github.com/bwaldvogel/mongo-java-server/issues/3
Very ugly, but tested with production code and works fine.