Fixed minor bug in ESM implementation

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11015 c92efa57-630b-4861-b058-cf58834340f0