Implemented workaround to Red Deer issue:
https://github.com/jboss-reddeer/reddeer/issues/817