you need to go to your permalinks page and just click the update button after doing the above, to refresh your settings
The 4.0.6 update fixed this problem for me after I went to the permalinks menu and clicked update like in the pre-update fix. So if 4.0.6 didn’t appear to have fixed this for you, try refreshing your permalinks settings. Glad it’s finally worked out! Thanks.