Update when dep to 3.4.6

Fixes #282
Fixes #286