What probably happened is you already had the template at that rank unlocked. This happens since templates shift around a lot right now since the feature is new. Over time the list will stabilize and this will happen less often.
maybe changed that and instead unlock the highest not yet unlocked template from the list? sounds more natural to me.