Added a fix for drupal.org/node/525592
Merge pull request #8 from ndobromirov/master

Added a fix for drupal.org/node/525592