fixing #1486 for 1.3.6 on release-1.3 branch

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #1486
| Refs tickets  | #605 
| License       | MIT
| Doc PR        | -