Fixed Bug 45149 (Issue #174)

Fixed Issue #174.
Also tracked in bugzilla at https://bugzilla.wikimedia.org/show_bug.cgi?id=45149