mam.lib: fix logic... and also I should fix my brain sometimes.