Fix potential bug in fluent class.