Patches for check_dimensions_listener [sf#1122694] [#564]