Fixed issue #308
Made the param recognition string-aware
Authored by: numere 2018-05-01
Parent: [r318]
Child: [r320]