Solves Bug PIMCORE-2112

http://www.pimcore.org/issues/browse/PIMCORE-2112