Fix #3023

Pull request to fix #3023 bug in 1.3.4